package com.tjetc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.lang.reflect.Type;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {
    @TableId(value="user_id" ,type= IdType.AUTO)
    private Long userId;
    private String userName;
    private String realName;
    private String avatar;
    private Long exp;
    private String password;
    private Date birthday;
    private String bio;
    private String phone;
    private String gender;
    private String email;
    private Long status;
}
